var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); (function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ 'use strict';var l;function aa(a){var b=0;return function(){return b>>0)+"_",e=0;return b}); n("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c=e}}); n("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,f=0;f=f}}); function La(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&cc&&(c=Math.max(c+e,0));c>>0),Ua=0;function Va(a,b,c){return a.call.apply(a.bind,arguments)} function Wa(a,b,c){if(!a)throw Error();if(2b?null:"string"===typeof a?a.charAt(b):a[b]} function lb(a,b){b=fb(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c} function mb(a,b){for(var c=1;c>>0;return b} ;var bc=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function cc(a){return a?decodeURI(a):a} function dc(a,b){return b.match(bc)[a]||null} function ec(a){return cc(dc(3,a))} function fc(a){var b=a.match(bc);a=b[5];var c=b[6];b=b[7];var d="";a&&(d+=a);c&&(d+="?"+c);b&&(d+="#"+b);return d} function gc(a,b,c){if(Array.isArray(b))for(var d=0;dc&&(c=a.length);var d=a.indexOf("?");if(0>d||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.substr(0,d),e,a.substr(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;b=a[0]+(a[1]?"?"+a[1]:"")+a[2]}else b=a;return b} function jc(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&bparseFloat(Ac)){zc=String(Cc);break a}}zc=Ac}var Dc=zc,Ec;if(x.document&&tc){var Fc=yc();Ec=Fc?Fc:parseInt(Dc,10)||void 0}else Ec=void 0;var Gc=Ec;var Hc=qc()||B("iPod"),Ic=B("iPad");!B("Android")||Tb();Tb();var Jc=B("Safari")&&!(Tb()||B("Coast")||B("Opera")||B("Edge")||B("Edg/")||B("OPR")||B("Firefox")||B("FxiOS")||B("Silk")||B("Android"))&&!(qc()||B("iPad")||B("iPod"));var Kc={},Lc=null; function Mc(a,b){Qa(a);void 0===b&&(b=0);if(!Lc){Lc={};for(var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),d=["+/=","+/","-_=","-_.","-_"],e=0;5>e;e++){var f=c.concat(d[e].split(""));Kc[e]=f;for(var g=0;g>2];k=b[(k&3)<<4|m>>4];m=b[(m&15)<<2|h>>6];h=b[h&63];c[e++]=""+g+k+m+h}g=0;h=d;switch(a.length- f){case 2:g=a[f+1],h=b[(g&15)<<2]||d;case 1:a=a[f],c[e]=""+b[a>>2]+b[(a&3)<<4|g>>4]+h+d}return c.join("")} ;var Nc="undefined"!==typeof Uint8Array;var Oc="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol(void 0):void 0;function Pc(a,b){Object.isFrozen(a)||(Oc?a[Oc]|=b:void 0!==a.Ma?a.Ma|=b:Object.defineProperties(a,{Ma:{value:b,configurable:!0,writable:!0,enumerable:!1}}))} function Qc(a){var b;Oc?b=a[Oc]:b=a.Ma;return null==b?0:b} function Rc(a){Pc(a,1);return a} function Sc(a){return Array.isArray(a)?!!(Qc(a)&2):!1} function Tc(a){if(!Array.isArray(a))throw Error("cannot mark non-array as immutable");Pc(a,2)} ;function Uc(a){return null!==a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object} var Vc,Wc=Object.freeze(Rc([]));function Xc(a){if(Sc(a.G))throw Error("Cannot mutate an immutable Message");} var Yc="undefined"!=typeof Symbol&&"undefined"!=typeof Symbol.hasInstance;function Zc(a){return{value:a,configurable:!1,writable:!1,enumerable:!1}} ;function $c(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "object":if(a&&!Array.isArray(a)&&Nc&&null!=a&&a instanceof Uint8Array)return Mc(a)}return a} ;function dd(a,b){b=void 0===b?ed:b;return fd(a,b)} function gd(a,b){if(null!=a){if(Array.isArray(a))a=fd(a,b);else if(Uc(a)){var c={},d;for(d in a)c[d]=gd(a[d],b);a=c}else a=b(a);return a}} function fd(a,b){for(var c=a.slice(),d=0;d=a.l?a.i?a.i[b]:void 0:(void 0===c?0:c)&&a.i&&(c=a.i[b],null!=c)?c:a.G[b+a.j]} function D(a,b,c,d,e){d=void 0===d?!1:d;(void 0===e?0:e)||Xc(a);bv;v+=4)C[v/4]=u[v]<<24|u[v+1]<<16|u[v+2]<<8|u[v+3];for(v=16;80>v;v++)u=C[v-3]^C[v-8]^C[v-14]^C[v-16],C[v]=(u<<1|u>>>31)&4294967295;u=e[0];var E=e[1],F=e[2],H=e[3],R=e[4];for(v=0;80>v;v++){if(40>v)if(20>v){var O=H^E&(F^H);var S=1518500249}else O=E^F^H,S=1859775393;else 60>v?(O=E&F|H&(E|F),S=2400959708):(O=E^F^H,S=3395469782);O=((u<<5|u>>>27)&4294967295)+O+R+S+C[v]&4294967295;R=H;H=F;F=(E<<30|E>>>2)&4294967295;E=u;u=O}e[0]=e[0]+u&4294967295;e[1]=e[1]+E&4294967295;e[2]= e[2]+F&4294967295;e[3]=e[3]+H&4294967295;e[4]=e[4]+R&4294967295} function c(u,C){if("string"===typeof u){u=unescape(encodeURIComponent(u));for(var v=[],E=0,F=u.length;Em?c(h,56-m):c(h,64-(m-56));for(var v=63;56<=v;v--)f[v]=C&255,C>>>=8;b(f);for(v=C=0;5>v;v++)for(var E=24;0<=E;E-=8)u[C++]=e[v]>>E&255;return u} for(var e=[],f=[],g=[],h=[128],k=1;64>k;++k)h[k]=0;var m,q;a();return{reset:a,update:c,digest:d,Sb:function(){for(var u=d(),C="",v=0;vh?"":0==h?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*h)).toUTCString();this.h.cookie=a+"="+b+c+g+h+d+(null!=e?";samesite="+ e:"")}; l.get=function(a,b){for(var c=a+"=",d=(this.h.cookie||"").split(";"),e=0,f;e>>0);function Me(a){if("function"===typeof a)return a;a[Ue]||(a[Ue]=function(b){return a.handleEvent(b)}); return a[Ue]} ;function Ve(){K.call(this);this.l=new Ee(this);this.Y=this;this.L=null} $a(Ve,K);Ve.prototype[Ae]=!0;Ve.prototype.addEventListener=function(a,b,c,d){Ke(this,a,b,c,d)}; Ve.prototype.removeEventListener=function(a,b,c,d){Se(this,a,b,c,d)}; function We(a,b){var c=a.L;if(c){var d=[];for(var e=1;c;c=c.L)d.push(c),++e}a=a.Y;c=b.type||b;"string"===typeof b?b=new se(b,a):b instanceof se?b.target=b.target||a:(e=b,b=new se(c,a),zb(b,e));e=!0;if(d)for(var f=d.length-1;!b.j&&0<=f;f--){var g=b.h=d[f];e=Xe(g,c,!0,b)&&e}b.j||(g=b.h=a,e=Xe(g,c,!0,b)&&e,b.j||(e=Xe(g,c,!1,b)&&e));if(d)for(f=0;!b.j&&fa&&0===a%1&&this.data_[a]!=b&&(this.data_[a]=b,this.h=-1)}; df.prototype.get=function(a){return!!this.data_[a]}; function ef(a){-1==a.h&&(a.h=jb(a.data_,function(b,c,d){return c?b+Math.pow(2,d):b},0)); return a.h} ;function ff(a,b){this.j=a;this.l=b;this.i=0;this.h=null} ff.prototype.get=function(){if(0a.i&&(a.i++,b.next=a.h,a.h=b)} ;var hf;function jf(){var a=x.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!B("Presto")&&(a=function(){var e=Md("IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var g="callImmediate"+Math.random(),h="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=Xa(function(k){if(("*"==h||k.origin==h)&&k.data==g)this.port1.onmessage()},this); f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(g,h)}}}); if("undefined"!==typeof a&&!B("Trident")&&!B("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.nb;c.nb=null;e()}}; return function(e){d.next={nb:e};d=d.next;b.port2.postMessage(0)}}return function(e){x.setTimeout(e,0)}} ;function kf(a){x.setTimeout(function(){throw a;},0)} ;function lf(){this.i=this.h=null} lf.prototype.add=function(a,b){var c=mf.get();c.set(a,b);this.i?this.i.next=c:this.h=c;this.i=c}; lf.prototype.remove=function(){var a=null;this.h&&(a=this.h,this.h=this.h.next,this.h||(this.i=null),a.next=null);return a}; var mf=new ff(function(){return new nf},function(a){return a.reset()}); function nf(){this.next=this.scope=this.h=null} nf.prototype.set=function(a,b){this.h=a;this.scope=b;this.next=null}; nf.prototype.reset=function(){this.next=this.scope=this.h=null};function of(a,b){pf||qf();rf||(pf(),rf=!0);sf.add(a,b)} var pf;function qf(){if(x.Promise&&x.Promise.resolve){var a=x.Promise.resolve(void 0);pf=function(){a.then(tf)}}else pf=function(){var b=tf; "function"!==typeof x.setImmediate||x.Window&&x.Window.prototype&&!B("Edge")&&x.Window.prototype.setImmediate==x.setImmediate?(hf||(hf=jf()),hf(b)):x.setImmediate(b)}} var rf=!1,sf=new lf;function tf(){for(var a;a=sf.remove();){try{a.h.call(a.scope)}catch(b){kf(b)}gf(mf,a)}rf=!1} ;function uf(a,b){this.h=a[x.Symbol.iterator]();this.i=b} uf.prototype[Symbol.iterator]=function(){return this}; uf.prototype.next=function(){var a=this.h.next();return{value:a.done?void 0:this.i.call(void 0,a.value),done:a.done}}; function vf(a,b){return new uf(a,b)} ;function wf(){this.blockSize=-1} ;function xf(){this.blockSize=-1;this.blockSize=64;this.h=[];this.o=[];this.m=[];this.j=[];this.j[0]=128;for(var a=1;ae;e++)d[e]=b.charCodeAt(c)<<24|b.charCodeAt(c+1)<<16|b.charCodeAt(c+2)<<8|b.charCodeAt(c+3),c+=4;else for(e=0;16>e;e++)d[e]=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4;for(e=16;80>e;e++){var f=d[e-3]^d[e-8]^d[e-14]^d[e-16];d[e]=(f<<1|f>>>31)&4294967295}b=a.h[0];c=a.h[1];var g=a.h[2],h=a.h[3],k=a.h[4];for(e=0;80>e;e++){if(40>e)if(20>e){f=h^c&(g^h);var m=1518500249}else f=c^g^h,m=1859775393;else 60>e?(f=c&g|h&(c|g),m=2400959708): (f=c^g^h,m=3395469782);f=(b<<5|b>>>27)+f+k+m+d[e]&4294967295;k=h;h=g;g=(c<<30|c>>>2)&4294967295;c=b;b=f}a.h[0]=a.h[0]+b&4294967295;a.h[1]=a.h[1]+c&4294967295;a.h[2]=a.h[2]+g&4294967295;a.h[3]=a.h[3]+h&4294967295;a.h[4]=a.h[4]+k&4294967295} xf.prototype.update=function(a,b){if(null!=a){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=0,e=this.o,f=this.i;dthis.i?this.update(this.j,56-this.i):this.update(this.j,this.blockSize-(this.i-56));for(var c=this.blockSize-1;56<=c;c--)this.o[c]=b&255,b/=256;yf(this,this.o);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.h[c]>>d&255,++b;return a};function zf(a){return"string"==typeof a.className?a.className:a.getAttribute&&a.getAttribute("class")||""} function Af(a,b){"string"==typeof a.className?a.className=b:a.setAttribute&&a.setAttribute("class",b)} function Bf(a,b){a.classList?b=a.classList.contains(b):(a=a.classList?a.classList:zf(a).match(/\S+/g)||[],b=0<=fb(a,b));return b} function Cf(){var a=document.body;a.classList?a.classList.remove("inverted-hdpi"):Bf(a,"inverted-hdpi")&&Af(a,Array.prototype.filter.call(a.classList?a.classList:zf(a).match(/\S+/g)||[],function(b){return"inverted-hdpi"!=b}).join(" "))} ;function Df(){} Df.prototype.next=function(){return Ef}; var Ef={done:!0,value:void 0};function Ff(a){return{value:a,done:!1}} Df.prototype.Z=function(){return this};function Gf(a){if(a instanceof Hf||a instanceof If||a instanceof Jf)return a;if("function"==typeof a.next)return new Hf(function(){return a}); if("function"==typeof a[Symbol.iterator])return new Hf(function(){return a[Symbol.iterator]()}); if("function"==typeof a.Z)return new Hf(function(){return a.Z()}); throw Error("Not an iterator or iterable.");} function Hf(a){this.i=a} Hf.prototype.Z=function(){return new If(this.i())}; Hf.prototype[Symbol.iterator]=function(){return new Jf(this.i())}; Hf.prototype.h=function(){return new Jf(this.i())}; function If(a){this.i=a} r(If,Df);If.prototype.next=function(){return this.i.next()}; If.prototype[Symbol.iterator]=function(){return new Jf(this.i)}; If.prototype.h=function(){return new Jf(this.i)}; function Jf(a){Hf.call(this,function(){return a}); this.j=a} r(Jf,Hf);Jf.prototype.next=function(){return this.j.next()};function Kf(a,b){this.i={};this.h=[];this.ia=this.size=0;var c=arguments.length;if(12*this.size&&Lf(this),!0):!1}; function Lf(a){if(a.size!=a.h.length){for(var b=0,c=0;b=d.h.length)return Ef;var f=d.h[b++];return Ff(a?f:d.i[f])}; return e}; function Mf(a,b){return Object.prototype.hasOwnProperty.call(a,b)} ;function Of(a){Pf();return Kb(a)} var Pf=Ma;function Sf(a){var b=[];Tf(new Uf,a,b);return b.join("")} function Uf(){} function Tf(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;fDate.now())wg.prototype.remove.call(this,a);else return b}};function xg(){} ;function yg(){} $a(yg,xg);yg.prototype[Symbol.iterator]=function(){return Gf(this.Z(!0)).h()}; yg.prototype.clear=function(){var a=Array.from(this);a=p(a);for(var b=a.next();!b.done;b=a.next())this.remove(b.value)};function zg(a){this.h=a} $a(zg,yg);l=zg.prototype;l.isAvailable=function(){if(!this.h)return!1;try{return this.h.setItem("__sak","1"),this.h.removeItem("__sak"),!0}catch(a){return!1}}; l.set=function(a,b){try{this.h.setItem(a,b)}catch(c){if(0==this.h.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}}; l.get=function(a){a=this.h.getItem(a);if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a}; l.remove=function(a){this.h.removeItem(a)}; l.Z=function(a){var b=0,c=this.h,d=new Df;d.next=function(){if(b>=c.length)return Ef;var e=c.key(b++);if(a)return Ff(e);e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return Ff(e)}; return d}; l.clear=function(){this.h.clear()}; l.key=function(a){return this.h.key(a)};function Ag(){var a=null;try{a=window.localStorage||null}catch(b){}this.h=a} $a(Ag,zg);function Bg(a,b){this.i=a;this.h=null;var c;if(c=tc)c=!(9<=Number(Gc));if(c){Cg||(Cg=new Kf);this.h=Cg.get(a);this.h||(b?this.h=document.getElementById(b):(this.h=document.createElement("userdata"),this.h.addBehavior("#default#userData"),document.body.appendChild(this.h)),Cg.set(a,this.h));try{this.h.load(this.i)}catch(d){this.h=null}}} $a(Bg,yg);var Dg={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},Cg=null;function Eg(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return Dg[b]})} l=Bg.prototype;l.isAvailable=function(){return!!this.h}; l.set=function(a,b){this.h.setAttribute(Eg(a),b);Fg(this)}; l.get=function(a){a=this.h.getAttribute(Eg(a));if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a}; l.remove=function(a){this.h.removeAttribute(Eg(a));Fg(this)}; l.Z=function(a){var b=0,c=this.h.XMLDocument.documentElement.attributes,d=new Df;d.next=function(){if(b>=c.length)return Ef;var e=c[b++];if(a)return Ff(decodeURIComponent(e.nodeName.replace(/\./g,"%")).substr(1));e=e.nodeValue;if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return Ff(e)}; return d}; l.clear=function(){for(var a=this.h.XMLDocument.documentElement,b=a.attributes.length;0k.status,C=500<=k.status&&600>k.status;if(m||u||C)q=hj(a,c,k,b.convertToSafeHtml);if(m)a:if(k&&204==k.status)m=!0;else{switch(c){case "XML":m=0==parseInt(q&&q.return_code,10);break a;case "RAW":m=!0;break a}m=!!q}q=q||{};u=b.context||x;m?b.onSuccess&&b.onSuccess.call(u,k,q):b.onError&&b.onError.call(u,k,q);b.onFinish&&b.onFinish.call(u,k,q)}},b.method, d,b.headers,b.responseType,b.withCredentials); if(b.onTimeout&&0Math.round(P())-d.requestTime)){var e=d.authState,f=Oj(Nj(!1));vb(e,f)&&(e=d.request,"requestTimeMs"in e&&(e.requestTimeMs=Math.round(P())),Wj(a,d.method,e,{}));delete b[c]}}Sj().set("requests",b,86400,!0)}} ;function Xj(){} function Yj(a,b){return Zj(a,0,b)} Xj.prototype.N=function(a,b){return Zj(a,1,b)}; function ak(a,b){Zj(a,2,b)} function bk(a){var b=z("yt.scheduler.instance.addImmediateJob");b?b(a):a()} ;function ck(){Xj.apply(this,arguments)} r(ck,Xj);function dk(){ck.h||(ck.h=new ck);return ck.h} function Zj(a,b,c){void 0!==c&&Number.isNaN(Number(c))&&(c=void 0);var d=z("yt.scheduler.instance.addJob");return d?d(a,b,c):void 0===c?(a(),NaN):Ci(a,c||0)} ck.prototype.U=function(a){if(void 0===a||!Number.isNaN(Number(a))){var b=z("yt.scheduler.instance.cancelJob");b?b(a):Di(a)}}; ck.prototype.start=function(){var a=z("yt.scheduler.instance.start");a&&a()}; ck.prototype.pause=function(){var a=z("yt.scheduler.instance.pause");a&&a()};var bf=dk();var ek=Hc||Ic;function fk(a){var b=Sb();return b?0<=b.toLowerCase().indexOf(a):!1} ;var gk=function(){var a;return function(){a||(a=new Pj("ytidb"));return a}}(); function hk(){var a;return null==(a=gk())?void 0:a.get("LAST_RESULT_ENTRY_KEY",!0)} ;var ik=[],jk,kk=!1;function lk(){var a={};for(jk=new mk(void 0===a.handleError?nk:a.handleError,void 0===a.logEvent?ok:a.logEvent);0=f)$k(a,k,v,g,E,b.join(),e),h=E;H.s(2);break;case 3:return H.return(Promise.reject(h))}})} function $k(a,b,c,d,e,f,g){b=c-b;e?(e instanceof Bk&&("QUOTA_EXCEEDED"===e.type||"QUOTA_MAYBE_EXCEEDED"===e.type)&&qk("QUOTA_EXCEEDED",{dbName:uk(a.h.name),objectStoreNames:f,transactionCount:a.transactionCount,transactionMode:g.mode}),e instanceof Bk&&"UNKNOWN_ABORT"===e.type&&(c-=a.j,0>c&&c>=Math.pow(2,31)&&(c=0),qk("TRANSACTION_UNEXPECTEDLY_ABORTED",{objectStoreNames:f,transactionDuration:b,transactionCount:a.transactionCount,dbDuration:c}),a.i=!0),al(a,!1,d,f,b,g.tag),pk(e)):al(a,!0,d,f,b,g.tag)} function al(a,b,c,d,e,f){qk("TRANSACTION_ENDED",{objectStoreNames:d,connectionHasUnknownAbortedTransaction:a.i,duration:e,isSuccessful:b,tryCount:c,tag:void 0===f?"IDB_TRANSACTION_TAG_UNKNOWN":f})} l.getName=function(){return this.h.name}; function Wk(a){this.h=a} l=Wk.prototype;l.add=function(a,b){return Rk(this.h.add(a,b))}; l.autoIncrement=function(){return this.h.autoIncrement}; l.clear=function(){return Rk(this.h.clear()).then(function(){})}; l.count=function(a){return Rk(this.h.count(a))}; function bl(a,b){return cl(a,{query:b},function(c){return c.delete().then(function(){return c.continue()})}).then(function(){})} l.delete=function(a){return a instanceof IDBKeyRange?bl(this,a):Rk(this.h.delete(a))}; l.get=function(a){return Rk(this.h.get(a))}; l.index=function(a){try{return new dl(this.h.index(a))}catch(b){if(b instanceof Error&&"NotFoundError"===b.name)throw new Dk(a,this.h.name);throw b;}}; l.getName=function(){return this.h.name}; l.keyPath=function(){return this.h.keyPath}; function cl(a,b,c){a=a.h.openCursor(b.query,b.direction);return el(a).then(function(d){return Sk(d,c)})} function Yk(a){var b=this;this.h=a;this.j=new Map;this.i=!1;this.done=new Promise(function(c,d){b.h.addEventListener("complete",function(){c()}); b.h.addEventListener("error",function(e){e.currentTarget===e.target&&d(b.h.error)}); b.h.addEventListener("abort",function(){var e=b.h.error;if(e)d(e);else if(!b.i){e=Bk;for(var f=b.h.objectStoreNames,g=[],h=0;h=H},F); F.done.catch(function(H){e(H)})}catch(H){e(H)}}); g.addEventListener("success",function(){var v=g.result;k&&v.addEventListener("versionchange",function(){k(f())}); v.addEventListener("close",function(){qk("IDB_UNEXPECTEDLY_CLOSED",{dbName:uk(a),dbVersion:v.version});m&&m()}); d(f())}); g.addEventListener("error",function(){e(g.error)}); h&&g.addEventListener("blocked",function(){h()})})} function il(a,b,c){c=void 0===c?{}:c;return hl(a,b,c)} function jl(a,b){b=void 0===b?{}:b;var c,d,e,f;return w(function(g){if(1==g.h)return wa(g,2),c=self.indexedDB.deleteDatabase(a),d=b,(e=d.blocked)&&c.addEventListener("blocked",function(){e()}),t(g,Qk(c),4); if(2!=g.h)return xa(g,0);f=ya(g);throw Fk(f,a,"",-1);})} ;function kl(a){return new Promise(function(b){ak(function(){b()},a)})} function ll(a,b){this.name=a;this.options=b;this.l=!0;this.m=this.o=0;this.i=500} ll.prototype.j=function(a,b,c){c=void 0===c?{}:c;return il(a,b,c)}; ll.prototype.delete=function(a){a=void 0===a?{}:a;return jl(this.name,a)}; function ml(a,b){return new Bk("INCOMPATIBLE_DB_VERSION",{dbName:a.name,oldVersion:a.options.version,newVersion:b})} function nl(a,b){if(!b)throw Gk("openWithToken",uk(a.name));return a.open()} ll.prototype.open=function(){function a(){var f,g,h,k,m,q,u,C,v,E;return w(function(F){switch(F.h){case 1:return g=null!=(f=Error().stack)?f:"",wa(F,2),t(F,c.j(c.name,c.options.version,e),4);case 4:h=F.i;for(var H=c.options,R=[],O=p(Object.keys(H.xa)),S=O.next();!S.done;S=O.next()){S=S.value;var ka=H.xa[S],N=void 0===ka.jc?Number.MAX_VALUE:ka.jc;!(h.h.version>=ka.Va)||h.h.version>=N||h.h.objectStoreNames.contains(S)||R.push(S)}k=R;if(0===k.length){F.s(5);break}m=Object.keys(c.options.xa);q=h.objectStoreNames(); if(c.mc.options.version+1)throw C.close(), c.l=!1,ml(c,v);return F.return(C);case 10:throw b(),u instanceof Error&&!M("ytidb_async_stack_killswitch")&&(u.stack=u.stack+"\n"+g.substring(g.indexOf("\n")+1)),Fk(u,c.name,"",null!=(E=c.options.version)?E:-1);}})} function b(){c.h===d&&(c.h=void 0)} var c=this;if(!this.l)throw ml(this);if(this.h)return this.h;var d,e={blocking:function(f){f.close()}, closed:b,Ac:b,upgrade:this.options.upgrade};return this.h=d=a()};var ol=new ll("YtIdbMeta",{xa:{databases:{Va:1}},upgrade:function(a,b){b(1)&&Vk(a,"databases",{keyPath:"actualName"})}}); function pl(a,b){var c;return w(function(d){if(1==d.h)return t(d,nl(ol,b),2);c=d.i;return d.return(Uk(c,["databases"],{O:!0,mode:"readwrite"},function(e){var f=e.objectStore("databases");return f.get(a.actualName).then(function(g){if(g?a.actualName!==g.actualName||a.publicName!==g.publicName||a.userIdentifier!==g.userIdentifier:1)return Rk(f.h.put(a,void 0)).then(function(){})})}))})} function ql(a,b){var c;return w(function(d){if(1==d.h)return a?t(d,nl(ol,b),2):d.return();c=d.i;return d.return(c.delete("databases",a))})} function rl(a,b){var c,d;return w(function(e){return 1==e.h?(c=[],t(e,nl(ol,b),2)):3!=e.h?(d=e.i,t(e,Uk(d,["databases"],{O:!0,mode:"readonly"},function(f){c.length=0;return cl(f.objectStore("databases"),{},function(g){a(g.getValue())&&c.push(g.getValue());return g.continue()})}),3)):e.return(c)})} function sl(a){return rl(function(b){return"LogsDatabaseV2"===b.publicName&&void 0!==b.userIdentifier},a)} function tl(a,b,c){return rl(function(d){return c?void 0!==d.userIdentifier&&!a.includes(d.userIdentifier)&&c.includes(d.publicName):void 0!==d.userIdentifier&&!a.includes(d.userIdentifier)},b)} function ul(a){var b,c;return w(function(d){if(1==d.h)return b=sk("YtIdbMeta hasAnyMeta other"),t(d,rl(function(e){return void 0!==e.userIdentifier&&e.userIdentifier!==b},a),2); c=d.i;return d.return(0a.Qa)return m.return();a.potentialEsfErrorCounter++;if(void 0===(null==(k=b)?void 0:k.id)){m.s(8);break}return b.sendCount=c?!1:!0} function Ol(a){if(!a.v)throw Gk("retryQueuedRequests");a.K.vb("QUEUED",a.v).then(function(b){b&&!Sl(a,b,a.Db)?a.V.N(function(){return w(function(c){if(1==c.h)return void 0===b.id?c.s(2):t(c,a.K.ib(b.id,a.v),2);Ol(a);c.h=0})}):a.J.H()&&a.Aa()})} function Ql(a,b){a.Lb&&!a.J.H()?a.Lb(b):a.handleError(b)} function Ul(a){var b;return(a=null==a?void 0:null==(b=a.error)?void 0:b.code)&&400<=a&&599>=a?!1:!0} ;function Vl(a,b){this.version=a;this.args=b} ;function Wl(a,b){this.topic=a;this.h=b} Wl.prototype.toString=function(){return this.topic};var Xl=z("ytPubsub2Pubsub2Instance")||new L;L.prototype.subscribe=L.prototype.subscribe;L.prototype.unsubscribeByKey=L.prototype.ta;L.prototype.publish=L.prototype.ja;L.prototype.clear=L.prototype.clear;y("ytPubsub2Pubsub2Instance",Xl,void 0);var Yl=z("ytPubsub2Pubsub2SubscribedKeys")||{};y("ytPubsub2Pubsub2SubscribedKeys",Yl,void 0);var Zl=z("ytPubsub2Pubsub2TopicToKeys")||{};y("ytPubsub2Pubsub2TopicToKeys",Zl,void 0);var $l=z("ytPubsub2Pubsub2IsAsync")||{};y("ytPubsub2Pubsub2IsAsync",$l,void 0); y("ytPubsub2Pubsub2SkipSubKey",null,void 0);function am(a,b){var c=bm();c&&c.publish.call(c,a.toString(),a,b)} function cm(a){var b=dm,c=bm();if(!c)return 0;var d=c.subscribe(b.toString(),function(e,f){var g=z("ytPubsub2Pubsub2SkipSubKey");g&&g==d||(g=function(){if(Yl[d])try{if(f&&b instanceof Wl&&b!=e)try{var h=b.h,k=f;if(!k.args||!k.version)throw Error("yt.pubsub2.Data.deserialize(): serializedData is incomplete.");try{if(!h.ia){var m=new h;h.ia=m.version}var q=h.ia}catch(H){}if(!q||k.version!=q)throw Error("yt.pubsub2.Data.deserialize(): serializedData version is incompatible.");try{q=Reflect;var u=q.construct; var C=k.args,v=C.length;if(0=Math.random()&&am("nwl_transaction_latency_payload",a)} ;var vm={},wm=jm("ServiceWorkerLogsDatabase",{xa:(vm.SWHealthLog={Va:1},vm),jb:!0,upgrade:function(a,b){b(1)&&Vk(a,"SWHealthLog",{keyPath:"id",autoIncrement:!0}).h.createIndex("swHealthNewRequest",["interface","timestamp"],{unique:!1})}, version:1});function xm(a){return nl(wm(),a)} function ym(a){var b,c;return w(function(d){if(1==d.h)return t(d,xm(a),2);b=d.i;c=P()-2592E6;return t(d,Uk(b,["SWHealthLog"],{mode:"readwrite",O:!0},function(e){return cl(e.objectStore("SWHealthLog"),{},function(f){if(f.getValue().timestamp<=c)return f.delete().then(function(){return f.continue()})})}),0)})} function zm(a){var b;return w(function(c){if(1==c.h)return t(c,xm(a),2);b=c.i;return t(c,b.clear("SWHealthLog"),0)})} ;var Am={},Bm=0; function Cm(a){var b=void 0===b?"":b;if(a)if(b)gj(a,void 0,"POST",b,void 0);else if(A("USE_NET_AJAX_FOR_PING_TRANSPORT",!1))gj(a,void 0,"GET","",void 0);else{b:{try{var c=new cb({url:a});if(c.j&&c.i||c.l){var d=cc(dc(5,a)),e;if(!(e=!d||!d.endsWith("/aclk"))){var f=a.search(kc),g=jc(a,0,"ri",f);if(0>g)var h=null;else{var k=a.indexOf("&",g);if(0>k||k>f)k=f;g+=3;h=decodeURIComponent(a.substr(g,k-g).replace(/\+/g," "))}e="1"!==h}var m=!e;break b}}catch(u){}m=!1}if(m){b:{try{if(window.navigator&&window.navigator.sendBeacon&& window.navigator.sendBeacon(a,"")){var q=!0;break b}}catch(u){}q=!1}b=q?!0:!1}else b=!1;b||Dm(a)}} function Dm(a){var b=new Image,c=""+Bm++;Am[c]=b;b.onload=b.onerror=function(){delete Am[c]}; b.src=a} ;function Em(){this.h=new Map;this.i=!1} function Fm(){if(!Em.h){var a=z("yt.networkRequestMonitor.instance")||new Em;y("yt.networkRequestMonitor.instance",a,void 0);Em.h=a}return Em.h} Em.prototype.requestComplete=function(a,b){b&&(this.i=!0);a=this.removeParams(a);this.h.get(a)||this.h.set(a,b)}; Em.prototype.isEndpointCFR=function(a){a=this.removeParams(a);return(a=this.h.get(a))?!1:!1===a&&this.i?!0:null}; Em.prototype.removeParams=function(a){return a.split("?")[0]}; Em.prototype.removeParams=Em.prototype.removeParams;Em.prototype.isEndpointCFR=Em.prototype.isEndpointCFR;Em.prototype.requestComplete=Em.prototype.requestComplete;Em.getInstance=Fm;var Gm;function Hm(){Gm||(Gm=new Pj("yt.offline"));return Gm} function Im(a){if(M("offline_error_handling")){var b=Hm().get("errors",!0)||{};b[a.message]={name:a.name,stack:a.stack};a.level&&(b[a.message].level=a.level);Hm().set("errors",b,2592E3,!0)}} function Jm(){if(M("offline_error_handling")){var a=Hm().get("errors",!0);if(a){for(var b in a)if(a[b]){var c=new Q(b,"sent via offline_errors");c.name=a[b].name;c.stack=a[b].stack;c.level=a[b].level;ii(c)}Hm().set("errors",{},2592E3,!0)}}} ;var Km=ci("network_polling_interval",3E4);function Lm(){Ve.call(this);var a=this;this.T=0;this.A=this.m=!1;this.j=this.Za();M("use_shared_nsm")?(this.i=af(),M("use_shared_nsm_and_keep_yt_online_updated")&&(this.i.W("networkstatus-online",function(){a.j=!0;a.A&&Jm()}),this.i.W("networkstatus-offline",function(){a.j=!1}))):(Mm(this),Nm(this))} r(Lm,Ve);function Om(){if(!Lm.h){var a=z("yt.networkStatusManager.instance")||new Lm;y("yt.networkStatusManager.instance",a,void 0);Lm.h=a}return Lm.h} l=Lm.prototype;l.H=function(){if(M("use_shared_nsm")&&this.i){var a;return null==(a=this.i)?void 0:a.H()}return this.j}; l.ca=function(a){if(M("use_shared_nsm")&&this.i){var b;null!=(b=this.i)&&(b.i=a)}else a!==this.j&&(this.j=a)}; l.cc=function(a){!M("use_shared_nsm")&&(this.m=!0,void 0===a?0:a)&&(this.T||Pm(this))}; l.Za=function(){var a=window.navigator.onLine;return void 0===a?!0:a}; l.Tb=function(){this.A=!0}; l.W=function(a,b){return M("use_shared_nsm")&&this.i?this.i.W(a,b):Ve.prototype.W.call(this,a,b)}; function Nm(a){window.addEventListener("online",function(){return w(function(b){if(1==b.h)return t(b,a.ea(),2);a.A&&Jm();b.h=0})})} function Mm(a){window.addEventListener("offline",function(){return w(function(b){return t(b,a.ea(),0)})})} function Pm(a){a.T=Yj(function(){return w(function(b){if(1==b.h)return a.j?a.Za()||!a.m?b.s(3):t(b,a.ea(),3):t(b,a.ea(),3);Pm(a);b.h=0})},Km)} l.ea=function(a){var b=this;if(M("use_shared_nsm")&&this.i){var c=Ze(this.i,a);c.then(function(d){M("use_cfr_monitor")&&Fm().requestComplete("generate_204",d)}); return c}return this.u?this.u:this.u=new Promise(function(d){var e,f,g,h;return w(function(k){switch(k.h){case 1:return e=window.AbortController?new window.AbortController:void 0,g=null==(f=e)?void 0:f.signal,h=!1,wa(k,2,3),e&&(b.M=bf.N(function(){e.abort()},a||2E4)),t(k,fetch("/generate_204",{method:"HEAD", signal:g}),5);case 5:h=!0;case 3:za(k);M("use_cfr_monitor")&&Fm().requestComplete("generate_204",h);b.u=void 0;b.M&&bf.U(b.M);h!==b.j&&(b.j=h,b.j&&b.m?We(b,"ytnetworkstatus-online"):b.m&&We(b,"ytnetworkstatus-offline"));d(h);Aa(k);break;case 2:ya(k),h=!1,k.s(3)}})})}; Lm.prototype.sendNetworkCheckRequest=Lm.prototype.ea;Lm.prototype.listen=Lm.prototype.W;Lm.prototype.enableErrorFlushing=Lm.prototype.Tb;Lm.prototype.getWindowStatus=Lm.prototype.Za;Lm.prototype.monitorNetworkStatusChange=Lm.prototype.cc;Lm.prototype.networkStatusHint=Lm.prototype.ca;Lm.prototype.isNetworkAvailable=Lm.prototype.H;Lm.getInstance=Om;function Qm(a){a=void 0===a?{}:a;Ve.call(this);var b=this;this.j=this.M=0;this.m="ytnetworkstatus-offline";this.u="ytnetworkstatus-online";M("use_shared_nsm")&&(this.m="networkstatus-offline",this.u="networkstatus-online");this.i=Om();var c=z("yt.networkStatusManager.instance.monitorNetworkStatusChange").bind(this.i);c&&c(a.sb);a.zb&&(c=z("yt.networkStatusManager.instance.enableErrorFlushing").bind(this.i))&&c();if(c=z("yt.networkStatusManager.instance.listen").bind(this.i))a.Sa?(this.Sa=a.Sa,c(this.u, function(){Rm(b,"publicytnetworkstatus-online")}),c(this.m,function(){Rm(b,"publicytnetworkstatus-offline")})):(c(this.u,function(){We(b,"publicytnetworkstatus-online")}),c(this.m,function(){We(b,"publicytnetworkstatus-offline")}))} r(Qm,Ve);Qm.prototype.H=function(){var a=z("yt.networkStatusManager.instance.isNetworkAvailable");return a?a.bind(this.i)():!0}; Qm.prototype.ca=function(a){var b=z("yt.networkStatusManager.instance.networkStatusHint").bind(this.i);b&&b(a)}; Qm.prototype.ea=function(a){var b=this,c;return w(function(d){c=z("yt.networkStatusManager.instance.sendNetworkCheckRequest").bind(b.i);return M("skip_network_check_if_cfr")&&Fm().isEndpointCFR("generate_204")?d.return(new Promise(function(e){var f;b.ca((null==(f=window.navigator)?void 0:f.onLine)||!0);e(b.H())})):c?d.return(c(a)):d.return(!0)})}; function Rm(a,b){a.Sa?a.j?(bf.U(a.M),a.M=bf.N(function(){a.A!==b&&(We(a,b),a.A=b,a.j=P())},a.Sa-(P()-a.j))):(We(a,b),a.A=b,a.j=P()):We(a,b)} ;var Sm;function Tm(){Ml.call(this,{K:{Qb:tm,oa:sm,vb:pm,ac:qm,ib:rm,set:nm},J:Um(),handleError:ii,qa:ji,da:Vm,now:P,Lb:Im,V:dk(),hb:"publicytnetworkstatus-online",gb:"publicytnetworkstatus-offline",Ka:!0,Ja:.1,Qa:ci("potential_esf_error_limit",10),D:M,wa:!(rk()&&Wm())});this.j=new Ad;M("networkless_immediately_drop_all_requests")&&um();Ll("LogsDatabaseV2")} r(Tm,Ml);function Xm(){var a=z("yt.networklessRequestController.instance");a||(a=new Tm,y("yt.networklessRequestController.instance",a,void 0),M("networkless_logging")&&Al().then(function(b){a.v=b;Nl(a);a.j.resolve();a.Ka&&Math.random()<=a.Ja&&a.v&&ym(a.v);M("networkless_immediately_drop_sw_health_store")&&Ym(a)})); return a} Tm.prototype.writeThenSend=function(a,b){b||(b={});rk()||(this.h=!1);Ml.prototype.writeThenSend.call(this,a,b)}; Tm.prototype.sendThenWrite=function(a,b,c){b||(b={});rk()||(this.h=!1);Ml.prototype.sendThenWrite.call(this,a,b,c)}; Tm.prototype.sendAndWrite=function(a,b){b||(b={});rk()||(this.h=!1);Ml.prototype.sendAndWrite.call(this,a,b)}; Tm.prototype.awaitInitialization=function(){return this.j.promise}; function Ym(a){var b;w(function(c){if(!a.v)throw b=Gk("clearSWHealthLogsDb"),b;return c.return(zm(a.v).catch(function(d){a.handleError(d)}))})} function Vm(a,b,c){M("use_cfr_monitor")&&Zm(a,b);var d;if(null==(d=b.postParams)?0:d.requestTimeMs)b.postParams.requestTimeMs=Math.round(P());c&&0===Object.keys(b).length?Cm(a):dj(a,b)} function Um(){Sm||(Sm=new Qm({zb:!0,sb:!0}));return Sm} function Zm(a,b){var c=b.onError?b.onError:function(){}; b.onError=function(e,f){Fm().requestComplete(a,!1);c(e,f)}; var d=b.onSuccess?b.onSuccess:function(){}; b.onSuccess=function(e,f){Fm().requestComplete(a,!0);d(e,f)}} function Wm(){return M("embeds_web_nwl_disable_nocookie")?"www.youtube-nocookie.com"!==ec(document.location.toString()):!0} ;var $m=!1,an=0,bn=0,cn,dn=x.ytNetworklessLoggingInitializationOptions||{isNwlInitialized:$m,potentialEsfErrorCounter:bn};y("ytNetworklessLoggingInitializationOptions",dn,void 0); function en(){var a;w(function(b){switch(b.h){case 1:return t(b,Al(),2);case 2:a=b.i;if(!a||!rk()&&!M("nwl_init_require_datasync_id_killswitch")||!Wm()){b.s(0);break}$m=!0;dn.isNwlInitialized=$m;if(!M("use_new_nwl_initialization")){b.s(4);break}return t(b,Xm().awaitInitialization(),5);case 5:return b.return();case 4:return t(b,Ll("LogsDatabaseV2"),6);case 6:if(!(.1>=Math.random())){b.s(7);break}return t(b,tm(a),8);case 8:return t(b,ym(a),7);case 7:fn();gn().H()&&hn();gn().W("publicytnetworkstatus-online", hn);gn().W("publicytnetworkstatus-offline",jn);if(!M("networkless_immediately_drop_sw_health_store")){b.s(10);break}return t(b,kn(),10);case 10:if(M("networkless_immediately_drop_all_requests"))return t(b,um(),0);b.s(0)}})} function ln(a,b){function c(d){var e=gn().H();if(!mn()||!d||e&&M("vss_networkless_bypass_write"))nn(a,b);else{var f={url:a,options:b,timestamp:P(),status:"NEW",sendCount:0};nm(f,d).then(function(g){f.id=g;gn().H()&&on(f)}).catch(function(g){on(f); gn().H()?ii(g):Im(g)})}} b=void 0===b?{}:b;M("skip_is_supported_killswitch")?Al().then(function(d){c(d)}):c(zl())} function pn(a,b){function c(d){if(mn()&&d){var e={url:a,options:b,timestamp:P(),status:"NEW",sendCount:0},f=!1,g=b.onSuccess?b.onSuccess:function(){}; e.options.onSuccess=function(k,m){M("use_cfr_monitor")&&Fm().requestComplete(e.url,!0);void 0!==e.id?sm(e.id,d):f=!0;M("vss_network_hint")&&gn().ca(!0);g(k,m)}; if(M("use_cfr_monitor")){var h=b.onError?b.onError:function(){}; e.options.onError=function(k,m){Fm().requestComplete(e.url,!1);h(k,m)}}nn(e.url,e.options); nm(e,d).then(function(k){e.id=k;f&&sm(e.id,d)}).catch(function(k){gn().H()?ii(k):Im(k)})}else nn(a,b)} b=void 0===b?{}:b;M("skip_is_supported_killswitch")?Al().then(function(d){c(d)}):c(zl())} function hn(){var a=zl();if(!a)throw Gk("throttleSend");an||(an=bf.N(function(){var b;return w(function(c){if(1==c.h)return t(c,pm("NEW",a),2);if(3!=c.h)return b=c.i,b?t(c,on(b),3):(jn(),c.return());an&&(an=0,hn());c.h=0})},100))} function jn(){bf.U(an);an=0} function on(a){var b,c,d;return w(function(e){switch(e.h){case 1:b=zl();if(!b)throw c=Gk("immediateSend"),c;if(void 0===a.id){e.s(2);break}return t(e,qm(a.id,b),3);case 3:(d=e.i)?a=d:ji(Error("The request cannot be found in the database."));case 2:if(qn(a,2592E6)){e.s(4);break}ji(Error("Networkless Logging: Stored logs request expired age limit"));if(void 0===a.id){e.s(5);break}return t(e,sm(a.id,b),5);case 5:return e.return();case 4:a.skipRetry||(a=rn(a));var f=a,g,h;if(null==f?0:null==(g=f.options)? 0:null==(h=g.postParams)?0:h.requestTimeMs)f.options.postParams.requestTimeMs=Math.round(P());a=f;if(!a){e.s(0);break}if(!a.skipRetry||void 0===a.id){e.s(8);break}return t(e,sm(a.id,b),8);case 8:nn(a.url,a.options,!!a.skipRetry),e.h=0}})} function rn(a){var b=zl();if(!b)throw Gk("updateRequestHandlers");var c=a.options.onError?a.options.onError:function(){}; a.options.onError=function(e,f){var g,h,k;return w(function(m){switch(m.h){case 1:M("use_cfr_monitor")&&Fm().requestComplete(a.url,!1);g=Ul(f);if(!(M("nwl_consider_error_code")&&g||!M("nwl_consider_error_code")&&sn()<=ci("potential_esf_error_limit",10))){m.s(2);break}if(M("skip_checking_network_on_cfr_failure")&&(!M("skip_checking_network_on_cfr_failure")||Fm().isEndpointCFR(a.url))){m.s(3);break}return t(m,gn().ea(),3);case 3:if(gn().H()){m.s(2);break}c(e,f);if(!M("nwl_consider_error_code")||void 0=== (null==(h=a)?void 0:h.id)){m.s(6);break}return t(m,rm(a.id,b,!1),6);case 6:return m.return();case 2:if(M("nwl_consider_error_code")&&!g&&sn()>ci("potential_esf_error_limit",10))return m.return();z("ytNetworklessLoggingInitializationOptions")&&dn.potentialEsfErrorCounter++;bn++;if(void 0===(null==(k=a)?void 0:k.id)){m.s(8);break}return 1>a.sendCount?t(m,rm(a.id,b),12):t(m,sm(a.id,b),8);case 12:bf.N(function(){gn().H()&&hn()},5E3); case 8:c(e,f),m.h=0}})}; var d=a.options.onSuccess?a.options.onSuccess:function(){}; a.options.onSuccess=function(e,f){var g;return w(function(h){if(1==h.h)return M("use_cfr_monitor")&&Fm().requestComplete(a.url,!0),void 0===(null==(g=a)?void 0:g.id)?h.s(2):t(h,sm(a.id,b),2);M("vss_network_hint")&&gn().ca(!0);d(e,f);h.h=0})}; return a} function qn(a,b){a=a.timestamp;return P()-a>=b?!1:!0} function fn(){var a=zl();if(!a)throw Gk("retryQueuedRequests");pm("QUEUED",a).then(function(b){b&&!qn(b,12E4)?bf.N(function(){return w(function(c){if(1==c.h)return void 0===b.id?c.s(2):t(c,rm(b.id,a),2);fn();c.h=0})}):gn().H()&&hn()})} function kn(){var a,b;return w(function(c){a=zl();if(!a)throw b=Gk("clearSWHealthLogsDb"),b;return c.return(zm(a).catch(function(d){ii(d)}))})} function gn(){if(M("use_new_nwl"))return Um();cn||(cn=new Qm({zb:!0,sb:!0}));return cn} function nn(a,b,c){c&&0===Object.keys(b).length?Cm(a):dj(a,b)} function mn(){return z("ytNetworklessLoggingInitializationOptions")?dn.isNwlInitialized:$m} function sn(){return z("ytNetworklessLoggingInitializationOptions")?dn.potentialEsfErrorCounter:bn} ;function tn(a){var b=this;this.config_=null;a?this.config_=a:Ej()&&(this.config_=Fj());Yj(function(){Vj(b)},5E3)} tn.prototype.isReady=function(){!this.config_&&Ej()&&(this.config_=Fj());return!!this.config_}; function Wj(a,b,c,d){function e(E){E=void 0===E?!1:E;var F;if(d.retry&&"www.youtube-nocookie.com"!=h&&(E||M("skip_ls_gel_retry")||"application/json"!==g.headers["Content-Type"]||(F=Tj(b,c,m,k)),F)){var H=g.onSuccess,R=g.onFetchSuccess;g.onSuccess=function(O,S){Uj(F);H(O,S)}; c.onFetchSuccess=function(O,S){Uj(F);R(O,S)}}try{E&&d.retry&&!d.Bb.bypassNetworkless?(g.method="POST",d.Bb.writeThenSend?M("use_new_nwl_wts")?Xm().writeThenSend(v,g):ln(v,g):M("use_new_nwl_saw")?Xm().sendAndWrite(v,g):pn(v,g)):(g.method="POST",g.postParams||(g.postParams={}),dj(v,g))}catch(O){if("InvalidAccessError"==O.name)F&&(Uj(F),F=0),ji(Error("An extension is blocking network request.")); else throw O;}F&&Yj(function(){Vj(a)},5E3)} !A("VISITOR_DATA")&&"visitor_id"!==b&&.01>Math.random()&&ji(new Q("Missing VISITOR_DATA when sending innertube request.",b,c,d));if(!a.isReady()){var f=new Q("innertube xhrclient not ready",b,c,d);ii(f);throw f;}var g={headers:d.headers||{},method:"POST",postParams:c,postBody:d.postBody,postBodyFormat:d.postBodyFormat||"JSON",onTimeout:function(){d.onTimeout()}, onFetchTimeout:d.onTimeout,onSuccess:function(E,F){if(d.onSuccess)d.onSuccess(F)}, onFetchSuccess:function(E){if(d.onSuccess)d.onSuccess(E)}, onError:function(E,F){if(d.onError)d.onError(F)}, onFetchError:function(E){if(d.onError)d.onError(E)}, timeout:d.timeout,withCredentials:!0};g.headers["Content-Type"]||(g.headers["Content-Type"]="application/json");var h="";(f=a.config_.Xb)&&(h=f);var k=a.config_.Zb||!1,m=Nj(k,h,d);Object.assign(g.headers,m);(f=g.headers.Authorization)&&!h&&(g.headers["x-origin"]=window.location.origin);var q="/youtubei/"+a.config_.innertubeApiVersion+"/"+b,u={alt:"json"},C=a.config_.Yb&&f;C=C&&f.startsWith("Bearer");C||(u.key=a.config_.innertubeApiKey);var v=vi(""+h+q,u||{},!0);M("use_new_nwl")&&Xm().h||!M("use_new_nwl")&& mn()?yl().then(function(E){e(E)}):e(!1)} ;var un={appSettingsCaptured:!0,visualElementAttached:!0,visualElementGestured:!0,visualElementHidden:!0,visualElementShown:!0,flowEvent:!0,visualElementStateChanged:!0,playbackAssociated:!0,youThere:!0,accountStateChangeSignedIn:!0,accountStateChangeSignedOut:!0},vn={latencyActionBaselined:!0,latencyActionInfo:!0,latencyActionTicked:!0,bedrockRepetitiveActionTimed:!0,adsClientStateChange:!0,streamzIncremented:!0,mdxDialAdditionalDataUpdateEvent:!0,tvhtml5WatchKeyEvent:!0,tvhtml5VideoSeek:!0,tokenRefreshEvent:!0, adNotify:!0,adNotifyFilled:!0,tvhtml5LaunchUrlComponentChanged:!0,bedrockResourceConsumptionSnapshot:!0,deviceStartupMetrics:!0,mdxSignIn:!0,tvhtml5KeyboardLogging:!0,tvhtml5StartupSoundEvent:!0,tvhtml5LiveChatStatus:!0,tvhtml5DeviceStorageStatus:!0,tvhtml5LocalStorage:!0,directSignInEvent:!0,finalPayload:!0,tvhtml5SearchCompleted:!0,tvhtml5KeyboardPerformance:!0,adNotifyFailure:!0,latencyActionSpan:!0,tvhtml5AccountDialogOpened:!0,tvhtml5ApiTest:!0};var wn=0,xn=wc?"webkit":vc?"moz":tc?"ms":sc?"o":"";y("ytDomDomGetNextId",z("ytDomDomGetNextId")||function(){return++wn},void 0);var yn={stopImmediatePropagation:1,stopPropagation:1,preventMouseEvent:1,preventManipulation:1,preventDefault:1,layerX:1,layerY:1,screenX:1,screenY:1,scale:1,rotation:1,webkitMovementX:1,webkitMovementY:1}; function zn(a){this.type="";this.state=this.source=this.data=this.currentTarget=this.relatedTarget=this.target=null;this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.ctrlKey=this.altKey=!1;this.rotation=this.clientY=this.clientX=0;this.scale=1;this.changedTouches=this.touches=null;try{if(a=a||window.event){this.event=a;for(var b in a)b in yn||(this[b]=a[b]);this.scale=a.scale;this.rotation=a.rotation;var c=a.target||a.srcElement;c&&3==c.nodeType&&(c=c.parentNode);this.target=c;var d=a.relatedTarget; if(d)try{d=d.nodeName?d:null}catch(e){d=null}else"mouseover"==this.type?d=a.fromElement:"mouseout"==this.type&&(d=a.toElement);this.relatedTarget=d;this.clientX=void 0!=a.clientX?a.clientX:a.pageX;this.clientY=void 0!=a.clientY?a.clientY:a.pageY;this.keyCode=a.keyCode?a.keyCode:a.which;this.charCode=a.charCode||("keypress"==this.type?this.keyCode:0);this.altKey=a.altKey;this.ctrlKey=a.ctrlKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.h=a.pageX;this.i=a.pageY}}catch(e){}} function An(a){if(document.body&&document.documentElement){var b=document.body.scrollTop+document.documentElement.scrollTop;a.h=a.clientX+(document.body.scrollLeft+document.documentElement.scrollLeft);a.i=a.clientY+b}} zn.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())}; zn.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())}; zn.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var pb=x.ytEventsEventsListeners||{};y("ytEventsEventsListeners",pb,void 0);var Bn=x.ytEventsEventsCounter||{count:0};y("ytEventsEventsCounter",Bn,void 0); function Cn(a,b,c,d){d=void 0===d?{}:d;a.addEventListener&&("mouseenter"!=b||"onmouseenter"in document?"mouseleave"!=b||"onmouseenter"in document?"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"):b="mouseout":b="mouseover");return ob(function(e){var f="boolean"===typeof e[4]&&e[4]==!!d,g=Ra(e[4])&&Ra(d)&&vb(e[4],d);return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&(f||g)})} var Dn=eb(function(){var a=!1;try{var b=Object.defineProperty({},"capture",{get:function(){a=!0}}); window.addEventListener("test",null,b)}catch(c){}return a}); function En(a,b,c,d){d=void 0===d?{}:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=Cn(a,b,c,d);if(e)return e;e=++Bn.count+"";var f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in document);var g=f?function(h){h=new zn(h);if(!Nd(h.relatedTarget,function(k){return k==a}))return h.currentTarget=a,h.type=b,c.call(a,h)}:function(h){h=new zn(h); h.currentTarget=a;return c.call(a,h)}; g=hi(g);a.addEventListener?("mouseenter"==b&&f?b="mouseover":"mouseleave"==b&&f?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"),Dn()||"boolean"===typeof d?a.addEventListener(b,g,d):a.addEventListener(b,g,!!d.capture)):a.attachEvent("on"+b,g);pb[e]=[a,b,c,g,d];return e} function Fn(a){a&&("string"==typeof a&&(a=[a]),gb(a,function(b){if(b in pb){var c=pb[b],d=c[0],e=c[1],f=c[3];c=c[4];d.removeEventListener?Dn()||"boolean"===typeof c?d.removeEventListener(e,f,c):d.removeEventListener(e,f,!!c.capture):d.detachEvent&&d.detachEvent("on"+e,f);delete pb[b]}}))} ;var Gn=window.ytcsi&&window.ytcsi.now?window.ytcsi.now:window.performance&&window.performance.timing&&window.performance.now&&window.performance.timing.navigationStart?function(){return window.performance.timing.navigationStart+window.performance.now()}:function(){return(new Date).getTime()};function Hn(a){this.L=a;this.i=null;this.m=0;this.A=null;this.u=0;this.j=[];for(a=0;4>a;a++)this.j.push(0);this.l=0;this.T=En(window,"mousemove",Xa(this.Y,this));a=Xa(this.M,this);"function"===typeof a&&(a=hi(a));this.fa=window.setInterval(a,25)} $a(Hn,K);Hn.prototype.Y=function(a){void 0===a.h&&An(a);var b=a.h;void 0===a.i&&An(a);this.i=new Jd(b,a.i)}; Hn.prototype.M=function(){if(this.i){var a=Gn();if(0!=this.m){var b=this.A,c=this.i,d=b.x-c.x;b=b.y-c.y;d=Math.sqrt(d*d+b*b)/(a-this.m);this.j[this.l]=.5c;c++)b+=this.j[c]||0;3<=b&&this.L();this.u=d}this.m=a;this.A=this.i;this.l=(this.l+1)%4}}; Hn.prototype.I=function(){window.clearInterval(this.fa);Fn(this.T)};var In={}; function Jn(a){var b=void 0===a?{}:a;a=void 0===b.fc?!1:b.fc;b=void 0===b.Ub?!0:b.Ub;if(null==z("_lact",window)){var c=parseInt(A("LACT"),10);c=isFinite(c)?Date.now()-Math.max(c,0):-1;y("_lact",c,window);y("_fact",c,window);-1==c&&Kn();En(document,"keydown",Kn);En(document,"keyup",Kn);En(document,"mousedown",Kn);En(document,"mouseup",Kn);a?En(window,"touchmove",function(){Ln("touchmove",200)},{passive:!0}):(En(window,"resize",function(){Ln("resize",200)}),b&&En(window,"scroll",function(){Ln("scroll",200)})); new Hn(function(){Ln("mouse",100)}); En(document,"touchstart",Kn,{passive:!0});En(document,"touchend",Kn,{passive:!0})}} function Ln(a,b){In[a]||(In[a]=!0,bf.N(function(){Kn();In[a]=!1},b))} function Kn(){null==z("_lact",window)&&Jn();var a=Date.now();y("_lact",a,window);-1==z("_fact",window)&&y("_fact",a,window);(a=z("ytglobal.ytUtilActivityCallback_"))&&a()} function Mn(){var a=z("_lact",window);return null==a?-1:Math.max(Date.now()-a,0)} ;var Nn=x.ytPubsubPubsubInstance||new L,On=x.ytPubsubPubsubSubscribedKeys||{},Pn=x.ytPubsubPubsubTopicToKeys||{},Qn=x.ytPubsubPubsubIsSynchronous||{};function Rn(a,b){var c=Sn();if(c&&b){var d=c.subscribe(a,function(){var e=arguments;var f=function(){On[d]&&b.apply&&"function"==typeof b.apply&&b.apply(window,e)}; try{Qn[a]?f():Ci(f,0)}catch(g){ii(g)}},void 0); On[d]=!0;Pn[a]||(Pn[a]=[]);Pn[a].push(d);return d}return 0} function Tn(a){var b=Sn();b&&("number"===typeof a?a=[a]:"string"===typeof a&&(a=[parseInt(a,10)]),gb(a,function(c){b.unsubscribeByKey(c);delete On[c]}))} function Un(a,b){var c=Sn();c&&c.publish.apply(c,arguments)} function lo(a){var b=Sn();if(b)if(b.clear(a),a)Ko(a);else for(var c in Pn)Ko(c)} function Sn(){return x.ytPubsubPubsubInstance} function Ko(a){Pn[a]&&(a=Pn[a],gb(a,function(b){On[b]&&delete On[b]}),a.length=0)} L.prototype.subscribe=L.prototype.subscribe;L.prototype.unsubscribeByKey=L.prototype.ta;L.prototype.publish=L.prototype.ja;L.prototype.clear=L.prototype.clear;y("ytPubsubPubsubInstance",Nn,void 0);y("ytPubsubPubsubTopicToKeys",Pn,void 0);y("ytPubsubPubsubIsSynchronous",Qn,void 0);y("ytPubsubPubsubSubscribedKeys",On,void 0);var Lo=ci("initial_gel_batch_timeout",2E3),Mo=Math.pow(2,16)-1,No=void 0;function Oo(){this.j=this.h=this.i=0} var Po=new Oo,Qo=new Oo,Ro=!0,So=x.ytLoggingTransportGELQueue_||new Map;y("ytLoggingTransportGELQueue_",So,void 0);var To=x.ytLoggingTransportGELProtoQueue_||new Map;y("ytLoggingTransportGELProtoQueue_",To,void 0);var Uo=x.ytLoggingTransportTokensToCttTargetIds_||{};y("ytLoggingTransportTokensToCttTargetIds_",Uo,void 0);var Vo=x.ytLoggingTransportTokensToJspbCttTargetIds_||{};y("ytLoggingTransportTokensToJspbCttTargetIds_",Vo,void 0); function Wo(a,b){if("log_event"===a.endpoint){var c=Xo(a),d=So.get(c)||[];So.set(c,d);d.push(a.payload);Yo(b,d,c)}} function Zo(a,b){if("log_event"===a.endpoint){var c=Xo(a,!0),d=To.get(c)||[];To.set(c,d);a=td(a.payload);d.push(a);Yo(b,d,c,!0)}} function Yo(a,b,c,d){d=void 0===d?!1:d;a&&(No=new a);a=ci("tvhtml5_logging_max_batch")||ci("web_logging_max_batch")||100;var e=P(),f=d?Qo.j:Po.j;b.length>=a?$o({writeThenSend:!0},M("flush_only_full_queue")?c:void 0,d):10<=e-f&&(ap(d),d?Qo.j=e:Po.j=e)} function bp(a,b){if("log_event"===a.endpoint){var c=Xo(a),d=new Map;d.set(c,[a.payload]);b&&(No=new b);return new Zf(function(e){No&&No.isReady()?cp(d,e,{bypassNetworkless:!0},!0):e()})}} function dp(a,b){if("log_event"===a.endpoint){var c=Xo(a,!0),d=new Map;d.set(c,[td(a.payload)]);b&&(No=new b);return new Zf(function(e){No&&No.isReady()?ep(d,e,{bypassNetworkless:!0},!0):e()})}} function Xo(a,b){var c="";if(a.va)c="visitorOnlyApprovedKey";else if(a.cttAuthInfo){if(void 0===b?0:b){b=a.cttAuthInfo.token;c=a.cttAuthInfo;var d=new Gh;c.videoId?d.setVideoId(c.videoId):c.playlistId&&kd(d,2,Hh,c.playlistId);Vo[b]=d}else b=a.cttAuthInfo,c={},b.videoId?c.videoId=b.videoId:b.playlistId&&(c.playlistId=b.playlistId),Uo[a.cttAuthInfo.token]=c;c=a.cttAuthInfo.token}return c} function $o(a,b,c){a=void 0===a?{}:a;c=void 0===c?!1:c;new Zf(function(d){c?(Di(Qo.i),Di(Qo.h),Qo.h=0):(Di(Po.i),Di(Po.h),Po.h=0);if(No&&No.isReady())if(void 0!==b)if(c){var e=new Map,f=To.get(b)||[];e.set(b,f);ep(e,d,a);To.delete(b)}else e=new Map,f=So.get(b)||[],e.set(b,f),cp(e,d,a),So.delete(b);else c?(ep(To,d,a),To.clear()):(cp(So,d,a),So.clear());else ap(c),d()})} function ap(a){a=void 0===a?!1:a;if(M("web_gel_timeout_cap")&&(!a&&!Po.h||a&&!Qo.h)){var b=Ci(function(){$o({writeThenSend:!0},void 0,a)},6E4); a?Qo.h=b:Po.h=b}Di(a?Qo.i:Po.i);b=A("LOGGING_BATCH_TIMEOUT",ci("web_gel_debounce_ms",1E4));M("shorten_initial_gel_batch_timeout")&&Ro&&(b=Lo);b=Ci(function(){$o({writeThenSend:!0},void 0,a)},b); a?Qo.i=b:Po.i=b} function cp(a,b,c,d){var e=No;c=void 0===c?{}:c;var f=Math.round(P()),g=a.size;a=p(a);for(var h=a.next();!h.done;h=a.next()){var k=p(h.value);h=k.next().value;var m=k=k.next().value;k=xb({context:Gj(e.config_||Fj())});k.events=m;(m=Uo[h])&&fp(k,h,m);delete Uo[h];h="visitorOnlyApprovedKey"===h;gp(k,f,h);hp(c);Wj(e,"log_event",k,ip(c,h,function(){g--;g||b()},function(){g--; g||b()},d)); Ro=!1}} function ep(a,b,c,d){var e=No;c=void 0===c?{}:c;var f=Math.round(P()),g=a.size;a=p(a);for(var h=a.next();!h.done;h=a.next()){var k=p(h.value);h=k.next().value;var m=k=k.next().value;k=new Ih;var q=Mj(e.config_||Fj());I(k,1,q);m=jp(m);for(q=0;qMo&&(a=1);Zh("BATCH_CLIENT_COUNTER",a);return a} function fp(a,b,c){if(c.videoId)var d="VIDEO";else if(c.playlistId)d="PLAYLIST";else return;a.credentialTransferTokenTargetId=c;a.context=a.context||{};a.context.user=a.context.user||{};a.context.user.credentialTransferTokens=[{token:b,scope:d}]} function kp(a,b,c){if(id(c,1===ld(c,Hh)?1:-1))var d=1;else if(c.getPlaylistId())d=2;else return;I(a,4,c);a=md(a,Tg,1)||new Tg;c=md(a,Rg,3)||new Rg;var e=new Qg;e.setToken(b);D(e,1,d);pd(c,12,Qg,e);I(a,3,c)} function jp(a){for(var b=[],c=0;c>3;switch(e&7){case 0:e=yp(b);if(2===f)return e;break;case 1:if(2===f)return;d+=8;break;case 2:e=yp(b);if(2===f)return a.substr(d,e);d+=e;break;case 5:if(2===f)return;d+=4;break;default:return}}while(db)return c;b=a();c|=(b&127)<<7;if(128>b)return c;b=a();c|=(b&127)<<14;if(128>b)return c;b=a();return 128>b?c|(b&127)<<21:Infinity} ;function zp(a,b,c,d){if(a)if(Array.isArray(a)){var e=d;for(d=0;da;a++){b=Date.now();for(c=0;c1E5*Math.random()&&(c=new Q("CSI data exceeded logging limit with key",b.split("_")),0<=b.indexOf("plev")||Tp(c)),!0):!1} ;function ds(){var a=["ol"];Ir("").info.actionType="embed";a&&Zh("TIMING_AFT_KEYS",a);Zh("TIMING_ACTION","embed");es();a=Ar();var b=Cr();if("cold"===a.yt_lt||"cold"===b.loadType){var c=vr(),d=Br();d=d.gelTicks?d.gelTicks:d.gelTicks={};for(var e in c)e in d||Z(e,c[e]);e={};c=!1;d=p(Object.keys(a));for(var f=d.next();!f.done;f=d.next())f=f.value,(f=Qr(f,a[f]))&&!Fr(Cr(void 0),f)&&(jr(b,f),jr(e,f),c=!0);c&&fs(e)}Za("ytglobal.timingready_",!0);a=$h("TIMING_ACTION");z("ytglobal.timingready_")&&a&&"_start"in vr(void 0)&&ur()&&Er()} function gs(a,b,c,d){null!==b&&(Ar(c)[a]=b,(a=Qr(a,b,c))&&fs(a,c,d))} function fs(a,b,c){if(!M("web_csi_via_jspb")||(void 0===c?0:c))c=Ir(b||""),jr(c.info,a),jr(Cr(b),a),c=Dr(b),b=zr(b).cttAuthInfo,bs().info(a,c,b);else{c=new vh;var d=Object.keys(a);a=Object.values(a);for(var e=0;e=yr()&&0c.duration?d:c},{duration:0}))&&0>=8);b[c++]=e}return Mc(b,3)} function Ss(a,b,c){Ms.push({payloadName:a,payload:b,options:c});Ps||(Ps=em())} function fm(a){if(Ms){for(var b=p(Ms),c=b.next();!c.done;c=b.next())if(c=c.value,c.payload)if(M("il_via_jspb"))switch(c.payload.S(a.csn),c.payloadName){case "screenCreated":Jp(c.payload,c.options);break;case "visualElementAttached":Kp(c.payload,c.options);break;case "visualElementShown":Fp(c.payload,c.options);break;case "visualElementHidden":Gp(c.payload,c.options);break;case "visualElementGestured":Hp(c.payload,c.options);break;case "visualElementStateChanged":Ip(c.payload,c.options);break;default:Tp(new Q("flushQueue unable to map payloadName to JSPB setter"))}else c.payload.csn= a.csn,op(c.payloadName,c.payload,null,c.options);Ms.length=0}Ps=0} ;function Ts(){this.i=new Set;this.h=new Set;this.j=new Map} Ts.prototype.clear=function(){this.i.clear();this.h.clear();this.j.clear()}; Na(Ts);function Us(){this.o=[];this.C=[];this.h=[];this.l=[];this.m=[];this.i=new Set;this.u=new Map} function Vs(a,b,c){c=void 0===c?0:c;b.then(function(d){a.i.has(c)&&a.j&&a.j();var e=kq(c),f=iq(c);if(e&&f){var g;(null==d?0:null==(g=d.response)?0:g.trackingParams)&&Rs(a.client,e,f,[eq(d.response.trackingParams)]);var h;(null==d?0:null==(h=d.playerResponse)?0:h.trackingParams)&&Rs(a.client,e,f,[eq(d.playerResponse.trackingParams)])}})} function Ws(a,b,c,d){d=void 0===d?0:d;if(a.i.has(d))a.o.push([b,c]);else{var e=kq(d);c=c||iq(d);e&&c&&Rs(a.client,e,c,[b])}} Us.prototype.clickCommand=function(a,b,c){var d=a.clickTrackingParams;c=void 0===c?0:c;if(d)if(c=kq(void 0===c?0:c)){a=this.client;var e=eq(d);var f="INTERACTION_LOGGING_GESTURE_TYPE_GENERIC_CLICK";d={cttAuthInfo:mq(c),X:c};if(M("il_via_jspb")){var g=new qh;g.S(c);e=e.getAsJspb();I(g,2,e);D(g,4,Eh[f]);b&&I(g,3,void 0);"UNDEFINED_CSN"==c?Ss("visualElementGestured",g,d):Hp(g,d,a)}else f={csn:c,ve:e.getAsJson(),gestureType:f},b&&(f.clientData=b),"UNDEFINED_CSN"==c?Ss("visualElementGestured",f,d):a?op("visualElementGestured", f,a,d):ok("visualElementGestured",f,d);b=!0}else b=!1;else b=!1;return b}; function Xs(a,b,c){c=void 0===c?{}:c;a.i.add(c.layer||0);a.j=function(){Ys(a,b,c);var f=iq(c.layer);if(f){for(var g=p(a.o),h=g.next();!h.done;h=g.next())h=h.value,Ws(a,h[0],h[1]||f,c.layer);f=p(a.C);for(g=f.next();!g.done;g=f.next()){var k=g.value;g=void 0;g=void 0===g?0:g;h=kq(g);var m=k[0]||iq(g);if(h&&m){g=a.client;var q=k[1];k={cttAuthInfo:mq(h),X:h};M("il_via_jspb")?(q=new sh,q.S(h),m=m.getAsJspb(),I(q,2,m),"UNDEFINED_CSN"==h?Ss("visualElementStateChanged",q,k):Ip(q,k,g)):(m={csn:h,ve:m.getAsJson(), clientData:q},"UNDEFINED_CSN"==h?Ss("visualElementStateChanged",m,k):g?op("visualElementStateChanged",m,g,k):ok("visualElementStateChanged",m,k))}}}}; kq(c.layer)||a.j();if(c.rb)for(var d=p(c.rb),e=d.next();!e.done;e=d.next())Vs(a,e.value,c.layer);else Sp(Error("Delayed screen needs a data promise."))} function Ys(a,b,c){c=void 0===c?{}:c;c.layer||(c.layer=0);var d=void 0!==c.ec?c.ec:c.layer;var e=kq(d);d=iq(d);var f;d&&(void 0!==c.parentCsn?f={clientScreenNonce:c.parentCsn,visualElement:d}:e&&"UNDEFINED_CSN"!==e&&(f={clientScreenNonce:e,visualElement:d}));var g,h=A("EVENT_ID");"UNDEFINED_CSN"===e&&h&&(g={servletData:{serializedServletEventId:h}});try{var k=Qs(a.client,b,f,c.qb,c.cttAuthInfo,g,c.Po)}catch(m){Vp(m,{Vo:b,rootVe:d,parentVisualElement:void 0,Mo:e,Ro:f,qb:c.qb});Sp(m);return}nq(k,b, c.layer,c.cttAuthInfo);if(b=e&&"UNDEFINED_CSN"!==e&&d){a:{b=p(Object.values(cq));for(f=b.next();!f.done;f=b.next())if(kq(f.value)===e){b=!0;break a}b=!1}b=!b}b&&(b=a.client,g=!0,h=(g=void 0===g?!1:g)?16:8,f={cttAuthInfo:mq(e),X:e,tb:g},M("il_via_jspb")?(h=new rh,h.S(e),d=d.getAsJspb(),I(h,2,d),D(h,4,g?16:8),"UNDEFINED_CSN"==e?Ss("visualElementHidden",h,f):Gp(h,f,b)):(d={csn:e,ve:d.getAsJson(),eventType:h},"UNDEFINED_CSN"==e?Ss("visualElementHidden",d,f):b?op("visualElementHidden",d,b,f):ok("visualElementHidden", d,f)));a.h[a.h.length-1]&&!a.h[a.h.length-1].csn&&(a.h[a.h.length-1].csn=k||"");fs({clientScreenNonce:k});Ts.getInstance().clear();d=iq(c.layer);e&&"UNDEFINED_CSN"!==e&&d&&(M("web_mark_root_visible")||M("music_web_mark_root_visible"))&&(e=k,k={cttAuthInfo:mq(e),X:e},M("il_via_jspb")?(b=new rh,b.S(e),f=d.getAsJspb(),I(b,2,f),D(b,4,1),"UNDEFINED_CSN"==e?Ss("visualElementShown",b,k):Fp(b,k,void 0)):(b={csn:e,ve:d.getAsJson(),eventType:1},"UNDEFINED_CSN"==e?Ss("visualElementShown",b,k):ok("visualElementShown", b,k)));a.i.delete(c.layer||0);a.j=void 0;e=p(a.u);for(k=e.next();!k.done;k=e.next())b=p(k.value),k=b.next().value,b=b.next().value,b.has(c.layer)&&d&&Ws(a,k,d,c.layer);for(c=0;cf&&(c=a.substring(f,e),c=c.replace(qt,""),c=c.replace(rt,""),c=c.replace("debug-",""),c=c.replace("tracing-",""))}spf.script.load(a,c,b)}else tt(a,b,c)} function tt(a,b,c){c=void 0===c?null:c;var d=ut(a),e=document.getElementById(d),f=e&&ot(e,"loaded"),g=e&&!f;f?b&&b():(b&&(f=Rn(d,b),b=""+Sa(b),vt[b]=f),g||(e=wt(a,d,function(){ot(e,"loaded")||(mt(e),Un(d),Ci(Ya(lo,d),0))},c)))} function wt(a,b,c,d){d=void 0===d?null:d;var e=Md("SCRIPT");e.id=b;e.onload=function(){c&&setTimeout(c,0)}; e.onreadystatechange=function(){switch(e.readyState){case "loaded":case "complete":e.onload()}}; d&&e.setAttribute("nonce",d);Id(e,Of(a));a=document.getElementsByTagName("head")[0]||document.body;a.insertBefore(e,a.firstChild);return e} function xt(a){a=ut(a);var b=document.getElementById(a);b&&(lo(a),b.parentNode.removeChild(b))} function zt(a,b){a&&b&&(a=""+Sa(b),(a=vt[a])&&Tn(a))} function ut(a){var b=document.createElement("a");Wb(b,a);a=b.href.replace(/^[a-zA-Z]+:\/\//,"//");return"js-"+ac(a)} var vt={};var At=[],Bt=!1;function Ct(){if(!M("disable_biscotti_fetch_for_ad_blocker_detection")&&!M("disable_biscotti_fetch_entirely_for_all_web_clients")&&yq()&&"1"!=ub()){var a=function(){Bt=!0;"google_ad_status"in window?Zh("DCLKSTAT",1):Zh("DCLKSTAT",2)}; try{st("//web.archive.org/web/20220328145929/https://static.doubleclick.net/instream/ad_status.js",a)}catch(b){}At.push(bf.N(function(){if(!(Bt||"google_ad_status"in window)){try{zt("//web.archive.org/web/20220328145929/https://static.doubleclick.net/instream/ad_status.js",a)}catch(b){}Bt=!0;Zh("DCLKSTAT",3)}},5E3))}} function Dt(){var a=Number(A("DCLKSTAT",0));return isNaN(a)?0:a} ;function Et(){this.state=1;this.h=null} l=Et.prototype; l.initialize=function(a,b,c){if(a.program){var d,e=null!=(d=a.interpreterScript)?d:null,f;d=null!=(f=a.interpreterUrl)?f:null;a.interpreterSafeScript&&(e=a.interpreterSafeScript,Eb("From proto message. b/166824318"),e=e.privateDoNotAccessOrElseSafeScriptWrappedValue||"",e=(f=Bb())?f.createScript(e):e,e=(new Gb(e)).toString());a.interpreterSafeUrl&&(d=a.interpreterSafeUrl,Eb("From proto message. b/166824318"),d=Kb(d.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue||"").toString());Ft(this,e, d,a.program,b,c)}else Tp(Error("Cannot initialize botguard without program"))}; function Ft(a,b,c,d,e,f){var g=void 0===g?"trayride":g;c?(a.state=2,st(c,function(){window[g]?It(a,d,g,e):(a.state=3,xt(c),Tp(new Q("Unable to load Botguard","from "+c)))},f)):b?(f=Md("SCRIPT"),f.textContent=b,f.nonce=Zb(),document.head.appendChild(f),document.head.removeChild(f),window[g]?It(a,d,g,e):(a.state=4,Tp(new Q("Unable to load Botguard from JS")))):Tp(new Q("Unable to load VM; no url or JS provided"))} l.isInitialized=function(){return!!this.h}; l.getState=function(){return this.state}; function It(a,b,c,d){a.state=5;try{var e=new Bd({program:b,globalName:c});e.wc.then(function(){a.state=6;d&&d(b)}); Jt(a,e)}catch(f){a.state=7,f instanceof Error&&Tp(f)}} l.invoke=function(a){a=void 0===a?{}:a;if(this.h){var b=this.h;a={pb:a};if(b.i)throw Error("Already disposed");b=b.l([a.pb,a.yc])}else b=null;return b}; l.dispose=function(){Jt(this,null);this.state=8}; function Jt(a,b){pe(a.h);a.h=b} ;var Kt=new Et;function Lt(){return Kt.isInitialized()} function Mt(a){a=void 0===a?{}:a;return Kt.invoke(a)} ;function Nt(a){var b=this;var c=void 0===c?0:c;var d=void 0===d?dk():d;this.l=c;this.j=d;this.i=new Ad;this.h=a;a={};c=p(this.h.entries());for(d=c.next();!d.done;a={sa:a.sa,Ba:a.Ba},d=c.next()){var e=p(d.value);d=e.next().value;e=e.next().value;a.Ba=d;a.sa=e;d=function(f){return function(){f.sa.eb();b.h[f.Ba].Ra=!0;b.h.every(function(g){return!0===g.Ra})&&b.i.resolve()}}(a); e=Zj(d,Ot(this,a.sa));this.h[a.Ba]=Object.assign({},a.sa,{eb:d,Na:e})}} function Pt(a){var b=Array.from(a.h.keys()).sort(function(d,e){return Ot(a,a.h[e])-Ot(a,a.h[d])}); b=p(b);for(var c=b.next();!c.done;c=b.next())c=a.h[c.value],void 0===c.Na||c.Ra||(a.j.U(c.Na),Zj(c.eb,10))} Nt.prototype.cancel=function(){for(var a=p(this.h),b=a.next();!b.done;b=a.next())b=b.value,void 0===b.Na||b.Ra||this.j.U(b.Na),b.Ra=!0;this.i.resolve()}; function Ot(a,b){var c;return null!=(c=b.priority)?c:a.l} ;function Qt(a){this.state=a;this.plugins=[];this.m=void 0} Qt.prototype.install=function(){this.plugins.push.apply(this.plugins,fa(Ja.apply(0,arguments)))}; Qt.prototype.transition=function(a,b){var c=this,d=this.C.find(function(f){return f.from===c.state&&f.B===a}); if(d){this.j&&(Pt(this.j),this.j=void 0);this.state=a;d=d.action.bind(this);var e=this.plugins.filter(function(f){return f[a]}).map(function(f){return f[a]}); d(Rt(this,e,this.m),b)}else throw Error("no transition specified from "+this.state+" to "+a);}; function Rt(a,b,c){return function(){var d=Ja.apply(0,arguments),e=b.filter(function(k){var m;return 10===(null!=(m=null!=c?c:k.priority)?m:0)}),f=b.filter(function(k){var m; return 10!==(null!=(m=null!=c?c:k.priority)?m:0)}); dk();var g={};e=p(e);for(var h=e.next();!h.done;g={Ca:g.Ca},h=e.next())g.Ca=h.value,bk(function(k){return function(){k.Ca.ka.apply(k.Ca,fa(d))}}(g)); f=f.map(function(k){var m;return{eb:function(){k.ka.apply(k,fa(d))}, priority:null!=(m=null!=c?c:k.priority)?m:0}}); f.length&&(a.j=new Nt(f))}} da.Object.defineProperties(Qt.prototype,{currentState:{configurable:!0,enumerable:!0,get:function(){return this.state}}});function St(a){Qt.call(this,void 0===a?"document_active":a);var b=this;this.m=10;this.h=new Map;this.C=[{from:"document_active",B:"document_disposed_preventable",action:this.u},{from:"document_active",B:"document_disposed",action:this.l},{from:"document_disposed_preventable",B:"document_disposed",action:this.l},{from:"document_disposed_preventable",B:"flush_logs",action:this.o},{from:"document_disposed_preventable",B:"document_active",action:this.i},{from:"document_disposed",B:"flush_logs",action:this.o}, {from:"document_disposed",B:"document_active",action:this.i},{from:"document_disposed",B:"document_disposed",action:function(){}}, {from:"flush_logs",B:"document_active",action:this.i}];window.addEventListener("pagehide",function(c){b.transition("document_disposed",{event:c})}); window.addEventListener("beforeunload",function(c){b.transition("document_disposed_preventable",{event:c})})} r(St,Qt);St.prototype.u=function(a,b){if(!this.h.get("document_disposed_preventable")){a(null==b?void 0:b.event);var c,d;if((null==b?0:null==(c=b.event)?0:c.defaultPrevented)||(null==b?0:null==(d=b.event)?0:d.returnValue)){b.event.returnValue||(b.event.returnValue=!0);b.event.defaultPrevented||b.event.preventDefault();this.h=new Map;this.transition("document_active");return}}this.h.set("document_disposed_preventable",!0);this.h.get("document_disposed")?this.transition("flush_logs"):this.transition("document_disposed")}; St.prototype.l=function(a,b){this.h.get("document_disposed")?this.transition("document_active"):(a(null==b?void 0:b.event),this.h.set("document_disposed",!0),this.transition("flush_logs"))}; St.prototype.o=function(a,b){a(null==b?void 0:b.event);this.transition("document_active")}; St.prototype.i=function(){this.h=new Map};function Tt(a){Qt.call(this,void 0===a?"document_visibility_unknown":a);var b=this;this.C=[{from:"document_visibility_unknown",B:"document_visible",action:this.i},{from:"document_visibility_unknown",B:"document_hidden",action:this.h},{from:"document_visibility_unknown",B:"document_foregrounded",action:this.o},{from:"document_visibility_unknown",B:"document_backgrounded",action:this.l},{from:"document_visible",B:"document_hidden",action:this.h},{from:"document_visible",B:"document_foregrounded",action:this.o}, {from:"document_visible",B:"document_visible",action:this.i},{from:"document_foregrounded",B:"document_visible",action:this.i},{from:"document_foregrounded",B:"document_hidden",action:this.h},{from:"document_foregrounded",B:"document_foregrounded",action:this.o},{from:"document_hidden",B:"document_visible",action:this.i},{from:"document_hidden",B:"document_backgrounded",action:this.l},{from:"document_hidden",B:"document_hidden",action:this.h},{from:"document_backgrounded",B:"document_hidden",action:this.h}, {from:"document_backgrounded",B:"document_backgrounded",action:this.l},{from:"document_backgrounded",B:"document_visible",action:this.i}];document.addEventListener("visibilitychange",function(c){"visible"===document.visibilityState?b.transition("document_visible",{event:c}):b.transition("document_hidden",{event:c})}); M("visibility_lifecycles_dynamic_backgrounding")&&(window.addEventListener("blur",function(c){b.transition("document_backgrounded",{event:c})}),window.addEventListener("focus",function(c){b.transition("document_foregrounded",{event:c})}))} r(Tt,Qt);Tt.prototype.i=function(a,b){a(null==b?void 0:b.event);M("visibility_lifecycles_dynamic_backgrounding")&&this.transition("document_foregrounded")}; Tt.prototype.h=function(a,b){a(null==b?void 0:b.event);M("visibility_lifecycles_dynamic_backgrounding")&&this.transition("document_backgrounded")}; Tt.prototype.l=function(a,b){a(null==b?void 0:b.event)}; Tt.prototype.o=function(a,b){a(null==b?void 0:b.event)};function Ut(){this.h=new St;this.i=new Tt} Ut.prototype.install=function(){var a=Ja.apply(0,arguments);this.h.install.apply(this.h,fa(a));this.i.install.apply(this.i,fa(a))};function Vt(){Ut.call(this);var a={};this.install((a.document_disposed={ka:this.j},a));a={};this.install((a.flush_logs={ka:this.l},a))} var Wt;r(Vt,Ut);Vt.prototype.l=function(){if(M("web_fp_via_jspb")){var a=new gh,b=kq();b&&a.S(b);b=new Ch;od(b,380,Dh,a);Ep(b,void 0);M("web_fp_via_jspb_and_json")&&ok("finalPayload",{csn:kq()})}else ok("finalPayload",{csn:kq()})}; Vt.prototype.j=function(){Xp(Yp)};function Xt(){} Xt.getInstance=function(){var a=z("ytglobal.storage_");a||(a=new Xt,y("ytglobal.storage_",a,void 0));return a}; Xt.prototype.estimate=function(){var a,b,c;return w(function(d){a=navigator;return(null==(b=a.storage)?0:b.estimate)?d.return(a.storage.estimate()):(null==(c=a.webkitTemporaryStorage)?0:c.queryUsageAndQuota)?d.return(Yt()):d.return()})}; function Yt(){var a=navigator;return new Promise(function(b,c){var d;null!=(d=a.webkitTemporaryStorage)&&d.queryUsageAndQuota?a.webkitTemporaryStorage.queryUsageAndQuota(function(e,f){b({usage:e,quota:f})},function(e){c(e)}):c(Error("webkitTemporaryStorage is not supported."))})} y("ytglobal.storageClass_",Xt,void 0);function mk(a,b){var c=this;this.handleError=a;this.h=b;this.i=!1;void 0===self.document||self.addEventListener("beforeunload",function(){c.i=!0}); this.j=Math.random()<=ci("ytidb_transaction_ended_event_rate_limit",.02)} mk.prototype.logEvent=function(a,b){switch(a){case "IDB_DATA_CORRUPTED":M("idb_data_corrupted_killswitch")||this.h("idbDataCorrupted",b);break;case "IDB_UNEXPECTEDLY_CLOSED":this.h("idbUnexpectedlyClosed",b);break;case "IS_SUPPORTED_COMPLETED":M("idb_is_supported_completed_killswitch")||this.h("idbIsSupportedCompleted",b);break;case "QUOTA_EXCEEDED":Zt(this,b);break;case "TRANSACTION_ENDED":this.j&&this.h("idbTransactionEnded",b);break;case "TRANSACTION_UNEXPECTEDLY_ABORTED":a=Object.assign({},b, {hasWindowUnloaded:this.i}),this.h("idbTransactionAborted",a)}}; function Zt(a,b){Xt.getInstance().estimate().then(function(c){c=Object.assign({},b,{isSw:void 0===self.document,isIframe:self!==self.top,deviceStorageUsageMbytes:$t(null==c?void 0:c.usage),deviceStorageQuotaMbytes:$t(null==c?void 0:c.quota)});a.h("idbQuotaExceeded",c)})} function $t(a){return"undefined"===typeof a?"-1":String(Math.ceil(a/1048576))} ;var au=window; function bu(){var a=au.uaChPolyfill.state;if(0===a.type)ok("clientHintsPolyfillEvent",{clientHintsSupported:!1});else{var b=navigator.userAgent,c=void 0!==a.syntheticUa&&a.syntheticUa===b,d={clientHintsSupported:!0,uaAccessedBeforePolyfill:a.didAccessUaBeforePolyfillAvailable,syntheticUaMatches:c};a.didAccessUaBeforePolyfillAvailable&&(d.uaAccessBeforePolyfillCount=a.uaAccessBeforePolyfillCount,a.firstAccessUaError&&(d.firstUaAccessStack=String(a.firstAccessUaError.stack).replace(/\n/g,""),Sp(a.firstAccessUaError)), d.polyfillAvailabilityDelayMs=a.polyfillAvailabilityDelay);ok("clientHintsPolyfillEvent",d);c||(b={syntheticUa:a.syntheticUa,ua:b},b.brand=a.data.brands.map(function(e){return'"'+e.brand+'"; v="'+e.version+'"'}),b.mobileness=a.data.mobile,a=a.data.values,a.architecture&&(b.platformArchitecture=a.architecture),a.model&&(b.model=a.model),a.platform&&(b.platformBrand=a.platform),a.platformVersion&&(b.platformVersion=a.platformVersion),a.uaFullVersion&&(b.fullVersion=a.uaFullVersion),ok("clientHintsPolyfillDiagnostics", b))}} var cu=!1;function du(){var a;1===(null==(a=au.uaChPolyfill)?void 0:a.state.type)?cu||(au.uaChPolyfill.onReady=du,cu=!0):au.uaChPolyfill&&bu()} ;function eu(a,b,c){K.call(this);var d=this;c=c||A("POST_MESSAGE_ORIGIN",void 0)||window.document.location.protocol+"//"+window.document.location.hostname;this.j=b||null;this.L="*";this.l=c;this.sessionId=null;this.channel="widget";this.M=!!a;this.A=function(e){a:if(!("*"!=d.l&&e.origin!=d.l||d.j&&e.source!=d.j||"string"!==typeof e.data)){try{var f=JSON.parse(e.data)}catch(g){break a}if(!(null==f||d.M&&(d.sessionId&&d.sessionId!=f.id||d.channel&&d.channel!=f.channel))&&f)switch(f.event){case "listening":"null"!= e.origin&&(d.l=d.L=e.origin);d.j=e.source;d.sessionId=f.id;d.i&&(d.i(),d.i=null);break;case "command":d.m&&(!d.u||0<=fb(d.u,f.func))&&d.m(f.func,f.args,e.origin)}}}; this.u=this.i=this.m=null;window.addEventListener("message",this.A)} r(eu,K);eu.prototype.sendMessage=function(a,b){if(b=b||this.j){this.sessionId&&(a.id=this.sessionId);this.channel&&(a.channel=this.channel);try{var c=JSON.stringify(a);b.postMessage(c,this.L)}catch(d){ji(d)}}}; eu.prototype.I=function(){window.removeEventListener("message",this.A);K.prototype.I.call(this)};function fu(){this.i=[];this.isReady=!1;this.j={};var a=this.h=new eu(!!A("WIDGET_ID_ENFORCE")),b=this.ic.bind(this);a.m=b;a.u=null;this.h.channel="widget";if(a=A("WIDGET_ID"))this.h.sessionId=a} l=fu.prototype;l.ic=function(a,b,c){"addEventListener"===a&&b?(a=b[0],this.j[a]||"onReady"===a||(this.addEventListener(a,gu(this,a)),this.j[a]=!0)):this.kb(a,b,c)}; l.kb=function(){}; function gu(a,b){return function(c){return a.sendMessage(b,c)}} l.addEventListener=function(){}; l.Vb=function(){this.isReady=!0;this.sendMessage("initialDelivery",this.Xa());this.sendMessage("onReady");gb(this.i,this.Ib,this);this.i=[]}; l.Xa=function(){return null}; function hu(a,b){a.sendMessage("infoDelivery",b)} l.Ib=function(a){this.isReady?this.h.sendMessage(a):this.i.push(a)}; l.sendMessage=function(a,b){this.Ib({event:a,info:void 0===b?null:b})}; l.dispose=function(){this.h=null};function iu(a){return(0===a.search("cue")||0===a.search("load"))&&"loadModule"!==a} function ju(a,b,c){if("string"===typeof a)return{videoId:a,startSeconds:b,suggestedQuality:c};b=["endSeconds","startSeconds","mediaContentUrl","suggestedQuality","videoId"];c={};for(var d=0;d>>0);function Wu(a,b,c){var d="player";c=void 0===c?!0:c;d="string"===typeof d?Ld(d):d;var e=Vu+"_"+Sa(d),f=Uu[e];if(f&&c)return Xu(a,b)?f.api.loadVideoByPlayerVars(a.args||null):f.loadNewVideoConfig(a),f.api;f=new Bu(d,e,a,b);Uu[e]=f;Un("player-added",f.api);re(f,function(){delete Uu[f.getId()]}); return f.api} function Xu(a,b){return b&&b.serializedExperimentFlags?b.serializedExperimentFlags.includes("web_player_remove_playerproxy=true"):a&&a.args&&a.args.fflags?a.args.fflags.includes("web_player_remove_playerproxy=true"):!1} ;var Yu=null,Zu=null,$u=null;function av(){var a=Yu.getVideoData(1);a=a.title?a.title+" - YouTube":"YouTube";document.title!==a&&(document.title=a)} ;function bv(a,b,c){a="ST-"+ac(a).toString(36);b=b?hc(b):"";c=c||5;yq()&&oj(a,b,c)} ;function cv(a,b,c){b=void 0===b?{}:b;c=void 0===c?!1:c;var d=A("EVENT_ID");d&&(b.ei||(b.ei=d));if(b){d=a;var e=void 0===e?!0:e;var f=A("VALID_SESSION_TEMPDATA_DOMAINS",[]),g=ec(window.location.href);g&&f.push(g);g=ec(d);if(0<=fb(f,g)||!g&&0==d.lastIndexOf("/",0))if(M("autoescape_tempdata_url")&&(f=document.createElement("a"),Wb(f,d),d=f.href),d&&(d=fc(d),f=d.indexOf("#"),d=0>f?d:d.substr(0,f)))if(e&&!b.csn&&(b.itct||b.ved)&&(b=Object.assign({csn:kq()},b)),h){var h=parseInt(h,10);isFinite(h)&&0